<template>
  <el-row id="map-container" class="map-container" />
</template>

<script>
import Cesium from 'cesium/Cesium'
import widget from 'cesium/Widgets/widgets.css'
export default {
  name: 'Index',
  mounted() {
    this.$nextTick(() => {
      Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIzMWIwN2Y2MC0yMjNkLTQxZWItYmVkNS0yNjdlZDQ1YTFhMmIiLCJpZCI6MTkzODMsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NzU0NDc4NTB9.9OwnMljHR3aDxIF822CW5VRIqJBvz3gMH8D3JS2ldo0'
      var viewer = new Cesium.Viewer('map-container',
        { animation: false,
          timeline: false,
          fullscreenButton: false,
          infoBox: false })
      viewer._cesiumWidget._creditContainer.style.display = 'none'
    })
  }
}
</script>

<style scoped>

</style>
